/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package objetosNegocio;

import java.sql.Date;
import java.util.List;

/**
 *
 * @author QUINTERO
 */
public class BillBoard {
    private int id;
    private List<Schedule> schedules;
    private Date date;
    private int status;

    public BillBoard() {
    }

    public BillBoard(int id) {
        this.id = id;
    }

    public BillBoard(int id, List<Schedule> schedules, Date date, int status) {
        this.id = id;
        this.schedules = schedules;
        this.date = date;
        this.status = status;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public List<Schedule> getSchedules() {
        return schedules;
    }

    public void setSchedules(List<Schedule> schedules) {
        this.schedules = schedules;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final BillBoard other = (BillBoard) obj;
        if (this.id != other.id) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 23 * hash + this.id;
        return hash;
    }

    @Override
    public String toString() {
        return "BillBoard{" + "id=" + id + ", schedules=" + schedules + ", date=" + date + ", status=" + status + '}';
    }
}
